/*
 * Copyright (c) 2021 Huize (Chengdu) Network Technology Co., LTD All rights reserved.
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/**
 * huize Service Inc
 * All Rights Reserved @2018
 */
package com.huize.zhike.framework.common.result;

import lombok.Data;

import java.util.List;

/**
 * 描述: 泛型list参数对象(controller直接接收list对象，jackson会解析异常，因此使用包装类)
 *
 * @author tianyuliang
 * @version $Id: ParamListWrapper.java, v0.1 2020/3/31
 */
@Data
public class ParamListWrapper<T> {

    /**
     * 接收前端参数，list对象
     */
    private List<T> items;

    public ParamListWrapper(List<T> items) {
        this.items = items;
    }

}
